﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CooliteExamples.Web.Pages.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
			<title></title>
</head>
<body>
			<ext:ScriptManager runat="server" />
			<form id="form1" runat="server">
			<ext:Window ID="Window" runat="server" Modal="true" ShowOnLoad="true" CenterOnLoad="true"
						Title="Editor Window" AutoHeight="true" Width="622">
						<Body>
									<ext:FormPanel ID="pnlMain" runat="server" Border="false" AutoHeight="true">
												<Body>
															<ext:Panel ID="Panel1" runat="server" Width="610" Height="300" Html="Content" BodyStyle="padding:6px;"
																		Title="Editor panel">
															</ext:Panel>
															<ext:Editor ID="PanelEditor" runat="server" AutoSize="Fit" Shadow="None">
																		<Field>
																					<ext:HtmlEditor ID="HtmlEditor1" runat="server" />
																		</Field>
															</ext:Editor>
												</Body>
									</ext:FormPanel>
						</Body>
						<Listeners>
									<Show Handler="#{PanelEditor}.startEdit(#{Panel1}.getBody());" />
						</Listeners>
			</ext:Window>
			<ext:Button ID="btnShow" runat="server" Text="Show">
						<Listeners>
									<Click Handler="Window.show();" />
						</Listeners>
			</ext:Button>
			</form>
</body>
</html>
